package com.moxiao.yfjh.module.activity.convert.packageProduct;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.packageProduct.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.packageProduct.PackageProductDO;

/**
 * 相亲套餐商品 Convert
 *
 * @author mx
 */
@Mapper
public interface PackageProductConvert {

    PackageProductConvert INSTANCE = Mappers.getMapper(PackageProductConvert.class);

    List<PackageProductDO> convert(List<PackageProductCreateReqVO> bean);

    PackageProductDO convert(PackageProductUpdateReqVO bean);

    PackageProductRespVO convert(PackageProductDO bean);

    List<PackageProductRespVO> convertList(List<PackageProductDO> list);

    PageResult<PackageProductRespVO> convertPage(PageResult<PackageProductDO> page);

    List<PackageProductExcelVO> convertList02(List<PackageProductDO> list);

}
